package com.huwaiwai.thread.threadlocal;

/**
 * Created by hww on 2018/6/11 下午3:29.
 */
public class Test {


    public static void main(String [] args) {
        ThreadLocal<Integer> threadLocal = new ThreadLocal<>();
        threadLocal.set(1);
        threadLocal.set(2);
        System.out.println(threadLocal.get());
    }


}
